home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
pdcurs21
/
flexos
/
_gname.c
< prev
Wrap
C/C++ Source or Header
|
1993-06-18
|
968b
|
41 lines
#define CURSES_LIBRARY 1
#include <curses.h>
#ifndef NDEBUG
char *rcsid__gname = "$Header: C:\CURSES\flexos\RCS\_gname.c 2.1 1993/06/18 20:23:59 MH Rel MH $";
#endif
#ifdef FLEXOS
VIRCON vir; /* Allocate a Virtual Console Structure */
/*man-start*********************************************************************
_flexos_gname() - FLEXOS: Return virtual console name
PDCurses Description:
This is a Flexos platform PDCurses function.
This routine returns the name of the Flexos virtual console.
The VIRCON vir structure is initialized within the initscr()
calltree.
PDCurses Return Value:
This routine returns a character pointer.
PDCurses Errors:
No errors are defined for this routine.
Portability:
PDCurses char* _flexos_gname( void );
**man-end**********************************************************************/
char* _flexos_gname(void)
{
return (&vir.vc_wname[0]);
}
#endif